const prefix = `${import.meta.env.VITE_APP_API_URL}/order`
export default {
  getOrderNumber: `${prefix}/getOrderNumber`,
  page: `${prefix}/page`,
  detail: `${prefix}/detail`,
  baseInfo: `${prefix}/baseInfo`,
  create: `${prefix}/create`,
  delete: `${prefix}/delete`,
  invalid: `${prefix}/invalid`,
  deleteProduct: `${prefix}/deleteProduct`,
  update: `${prefix}/update`,
  getProductDetail: `${prefix}/product/detail`,
  getCheckDetail: `${prefix}/product/check/detail`,
  createCheckDetail: `${prefix}/product/check/create`,
  updateCheckDetail: `${prefix}/product/check/update`,
  getRepairDetail: `${prefix}/product/repair/detail`,
  createRepairDetail: `${prefix}/product/repair/create`,
  updateRepairDetail: `${prefix}/product/repair/update`,
  getRepairCount: `${prefix}/product/repairCount`,
  importData: `${prefix}/import`,
  export: `${prefix}/export`,
  generateReport: `${prefix}/generateReport`,
  dateOrderStatistic: `${prefix}/statistic/byDate`,
  countByState: `${prefix}/statistic/byState`,
  countByProductRepairState: `${prefix}/statistic/byProductRepairState`,
  oneKeyPrice: `${prefix}/product/check/price`,
  customerSearch: `${prefix}/customerSearch`,
}
